package com.yun.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yun.dao.AddPhoneMapper;
import com.yun.pojo.PhoneInfo;
import com.yun.service.AddPhoneService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AddPhoneServiceImpl extends ServiceImpl<AddPhoneMapper, PhoneInfo> implements AddPhoneService {

    @Autowired
    AddPhoneMapper addPhoneMapper;
    public void addPhoneInfo(PhoneInfo phoneInfo){
        addPhoneMapper.insert(phoneInfo);
    }
}
